a='hi'
b='s'
print(a+b)



c='hi'
print(c*3)


str1='abcde'
print(str1[0])
print(str1[-1])
print(str1[0:4])


s='lucky'
print('a'in s)
print('a'not in s)
print('u'in s)
print('u'not in s)



print('我叫%s'%('lulibing'))
print('我今年%d岁'%(18))


list=[1,2,3,[4,5,6]]
list.append(7)
list.extend([1,2])
print(list)

list1=[1,2,3,4,5]
list1.sort()
list2=sorted(list1)
print(list1)
print(list2)

tuple=('s',2,4)
print(tuple[0])

for x in [1,2,3]:
    print(x)

